import React, { Component } from 'react';
import {BrowserRouter as Router, Route ,Link ,MemoryRouter}  from 'react-router-dom';
import './Footer.css';

class Footer extends Component {
    constructor(props) {
        super(props);


    }

    render() {
        let title = this.props.rtitle;
        let $this=this;
        function handclick(){
            $this.props.handleChange('ddd');
        }
        return (
            <div className="Footer erColor">
                <Link to="/main" className="Footer-item" >
                    <div className="icon-l">
                        <i className="icon iconfont">&#xe62e;</i>
                        <div>首页</div>
                    </div>

                </Link>
                <Link to="/message" className="Footer-item">
                    <div className="icon-l">
                        <i className="icon iconfont">&#xe631;</i>
                        <div>消息</div>
                    </div>
                </Link>
                <Link to="/cview" className="Footer-item">
                    <div className="icon-l">
                        <i className="icon iconfont">&#xe632;</i>
                        <div>发现</div>
                    </div>
                    </Link>
                <Link to="/profile" className="Footer-item">
                    <div className="icon-l">
                        <i className="icon iconfont">&#xe62f;</i>
                        <div>个人中心</div>
                    </div>
                    </Link>
            </div>
        );
    }
}

export default Footer;